#ifndef WINDOWSEVENTLOGGER_H_
#define WINDOWSEVENTLOGGER_H_

#include <QObject>
#include <QCloseEvent>
#include <QKeyEvent>
#include <windows.h>

class WindowsEventLogger : public QObject
    {
        Q_OBJECT

    public:
       WindowsEventLogger();
       void startLoggingKeyEvents();
       void stopLoggingKeyEvents();
       void sendKeySignal(int nCode, WPARAM wParam, LPARAM lParam);    
    signals:
       void keyEvent(QKeyEvent event);           
    };

#endif
